home *** CD-ROM | disk | FTP | other *** search
/ Workbench Add-On / Workbench Add-On - Volume 1.iso / Text / Show / Less / less-252 / defines.h.in < prev    next >
Text File  |  1994-11-16  |  6KB  |  236 lines

  1. /* defines.h.in.  Generated automatically from configure.in by autoheader.  */
  2. /* Unix definition file for less.  -*- C -*-
  3.  *
  4.  * This file has 3 sections:
  5.  * User preferences.
  6.  * Settings always true on Unix.
  7.  * Settings automatically determined by configure.
  8.  *
  9.  * * * * * *  WARNING  * * * * * *
  10.  * If you edit defines.h by hand, do "touch stamp-h" before you run make
  11.  * so config.status doesn't overwrite your changes.
  12.  */
  13.  
  14. /* User preferences.  */
  15.  
  16. /*
  17.  * SHELL_ESCAPE is 1 if you wish to allow shell escapes.
  18.  * (This is possible only if your system supplies the system() function.)
  19.  */
  20. #define    SHELL_ESCAPE    1
  21.  
  22. /*
  23.  * TAB_COMPLETE_FILENAME is 1 if you wish to allow the TAB key
  24.  * to complete filenames at prompts.
  25.  */
  26. #define    TAB_COMPLETE_FILENAME    1
  27.  
  28. /*
  29.  * CMD_HISTORY is 1 if you wish to allow keys to cycle through
  30.  * previous commands at prompts.
  31.  */
  32. #define    CMD_HISTORY    1
  33.  
  34. /*
  35.  * HILITE_SEARCH is 1 if you wish to have search targets to be 
  36.  * displayed in standout mode.
  37.  */
  38. #define    HILITE_SEARCH    1
  39.  
  40. /*
  41.  * EDITOR is 1 if you wish to allow editor invocation (the "v" command).
  42.  * (This is possible only if your system supplies the system() function.)
  43.  * EDIT_PGM is the name of the (default) editor to be invoked.
  44.  */
  45. #define    EDITOR        1
  46. #define    EDIT_PGM    "vi"
  47.  
  48. /*
  49.  * TAGS is 1 if you wish to support tag files.
  50.  */
  51. #define    TAGS        1
  52.  
  53. /*
  54.  * USERFILE is 1 if you wish to allow a .less file to specify 
  55.  * user-defined key bindings.
  56.  */
  57. #define    USERFILE    1
  58.  
  59. /*
  60.  * GLOB is 1 if you wish to have shell metacharacters expanded in filenames.
  61.  * This will generally work if your system provides the "popen" function
  62.  * and the "echo" shell command.
  63.  */
  64. #define    GLOB        1
  65.  
  66. /*
  67.  * PIPEC is 1 if you wish to have the "|" command
  68.  * which allows the user to pipe data into a shell command.
  69.  */
  70. #define    PIPEC        1
  71.  
  72. /*
  73.  * LOGFILE is 1 if you wish to allow the -l option (to create log files).
  74.  */
  75. #define    LOGFILE        1
  76.  
  77. /*
  78.  * ONLY_RETURN is 1 if you want RETURN to be the only input which
  79.  * will continue past an error message.
  80.  * Otherwise, any key will continue past an error message.
  81.  */
  82. #define    ONLY_RETURN    0
  83.  
  84. /*
  85.  * LESSKEYFILE is the filename of the default lesskey output file 
  86.  * (in the HOME directory).
  87.  * DEF_LESSKEYINFILE is the filename of the default lesskey input 
  88.  * (in the HOME directory).
  89.  */
  90. #define    LESSKEYFILE        ".less"
  91. #define    DEF_LESSKEYINFILE    ".lesskey"
  92.  
  93.  
  94. /* Settings always true on Unix.  */
  95.  
  96. /*
  97.  * Define MSOFTC if compiling under Microsoft C.
  98.  */
  99. #define    MSOFTC    0
  100.  
  101. /*
  102.  * HAVE_SYS_TYPES_H is 1 if your system has <sys/types.h>.
  103.  */
  104. #define HAVE_SYS_TYPES_H    1
  105.  
  106. /*
  107.  * HAVE_STAT is 1 if your system has the stat() call.
  108.  */
  109. #define    HAVE_STAT    1
  110.  
  111. /*
  112.  * HAVE_PERROR is 1 if your system has the perror() call.
  113.  * (Actually, if it has sys_errlist, sys_nerr and errno.)
  114.  */
  115. #define    HAVE_PERROR    1
  116.  
  117. /*
  118.  * HAVE_TIME is 1 if your system has the time() call.
  119.  */
  120. #define    HAVE_TIME    1
  121.  
  122. /*
  123.  * HAVE_SHELL is 1 if your system supports a SHELL command interpreter.
  124.  */
  125. #define    HAVE_SHELL    1
  126.  
  127. /* Settings automatically determined by configure.  */
  128.  
  129. /* Define to `long' if <sys/types.h> doesn't define.  */
  130. #undef off_t
  131.  
  132. /* Define as the return type of signal handlers (int or void).  */
  133. #undef RETSIGTYPE
  134.  
  135. /* Define if you have the ANSI C header files.  */
  136. #undef STDC_HEADERS
  137.  
  138. /*
  139.  * Regular expression library.
  140.  * Define exactly one of the following to be 1:
  141.  * HAVE_POSIX_REGCOMP: POSIX regcomp() and regex.h
  142.  * HAVE_RE_COMP: BSD re_comp()
  143.  * HAVE_REGCMP: System V regcmp()
  144.  * HAVE_V8_REGCOMP: Henry Spencer V8 regcomp() and regexp.h
  145.  * NO_REGEX: pattern matching is supported, but without metacharacters.
  146.  */
  147. #undef HAVE_POSIX_REGCOMP
  148. #undef HAVE_RE_COMP
  149. #undef HAVE_REGCMP
  150. #undef HAVE_V8_REGCOMP
  151. #undef NO_REGEX
  152.  
  153. /* Define HAVE_VOID if your compiler supports the "void" type. */
  154. #undef HAVE_VOID
  155.  
  156. /* Define HAVE_TIME_T if your system supports the "time_t" type. */
  157. #undef HAVE_TIME_T
  158.  
  159. /* Define HAVE_STRERROR if you have the strerror() function. */
  160. #undef HAVE_STRERROR
  161.  
  162. /* Define HAVE_ERRNO if you have the errno variable */
  163. #undef HAVE_ERRNO
  164.  
  165. /* Define HAVE_SYS_ERRLIST if you have the sys_errlist[] variable */
  166. #undef HAVE_SYS_ERRLIST
  167.  
  168. /* Define HAVE_OSPEED if your termcap library has the ospeed variable */
  169. #undef HAVE_OSPEED
  170. /* Define MUST_DEFINE_OSPEED if you have ospeed but it is not defined
  171.  * in termcap.h. */
  172. #undef MUST_DEFINE_OSPEED
  173.  
  174. /* Define HAVE_LOCALE if you have locale.h and setlocale. */
  175. #undef HAVE_LOCALE
  176.  
  177. /* Define HAVE_TERMIOS_FUNCS if you have tcgetattr/tcsetattr */
  178. #undef HAVE_TERMIOS_FUNCS
  179.  
  180. /* Define HAVE_UPPER_LOWER if you have isupper, islower, toupper, tolower */
  181. #undef HAVE_UPPER_LOWER
  182.  
  183. /* Define if you have _setjmp.  */
  184. #undef HAVE__SETJMP
  185.  
  186. /* Define if you have memcpy.  */
  187. #undef HAVE_MEMCPY
  188.  
  189. /* Define if you have sigsetmask.  */
  190. #undef HAVE_SIGSETMASK
  191.  
  192. /* Define if you have strchr.  */
  193. #undef HAVE_STRCHR
  194.  
  195. /* Define if you have system.  */
  196. #undef HAVE_SYSTEM
  197.  
  198. /* Define if you have the <ctype.h> header file.  */
  199. #undef HAVE_CTYPE_H
  200.  
  201. /* Define if you have the <errno.h> header file.  */
  202. #undef HAVE_ERRNO_H
  203.  
  204. /* Define if you have the <fcntl.h> header file.  */
  205. #undef HAVE_FCNTL_H
  206.  
  207. /* Define if you have the <stdio.h> header file.  */
  208. #undef HAVE_STDIO_H
  209.  
  210. /* Define if you have the <sys/ioctl.h> header file.  */
  211. #undef HAVE_SYS_IOCTL_H
  212.  
  213. /* Define if you have the <sys/ptem.h> header file.  */
  214. #undef HAVE_SYS_PTEM_H
  215.  
  216. /* Define if you have the <sys/stream.h> header file.  */
  217. #undef HAVE_SYS_STREAM_H
  218.  
  219. /* Define if you have the <termcap.h> header file.  */
  220. #undef HAVE_TERMCAP_H
  221.  
  222. /* Define if you have the <termio.h> header file.  */
  223. #undef HAVE_TERMIO_H
  224.  
  225. /* Define if you have the <termios.h> header file.  */
  226. #undef HAVE_TERMIOS_H
  227.  
  228. /* Define if you have the <time.h> header file.  */
  229. #undef HAVE_TIME_H
  230.  
  231. /* Define if you have the <unistd.h> header file.  */
  232. #undef HAVE_UNISTD_H
  233.  
  234. /* Define if you have the <values.h> header file.  */
  235. #undef HAVE_VALUES_H
  236.